package org.easy.platform.system.controller;
import org.easy.platform.system.business.ISystemBusiness;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 类说明
 *
 * @author YanMing
 * @date 2024/4/29
 */
@RestController
@RequestMapping("/system")
public class IndexController {
    @Resource
    ISystemBusiness systemBusiness;
    @GetMapping
    public String hello(@RequestParam(defaultValue = "local")String content) {
        return systemBusiness.hello(content);
    }
}
